﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.BHGPSSP.Dtos
{
    [ExcelExporter(Name = "新不合格评审审批", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class NewBHGPSSPOutput
    {
        /// <summary>
        ///  流程编号
        /// </summary>
        [ExporterHeader("流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader("申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [ExporterHeader("创建日期")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader("流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 查看链接地址
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        [ExporterHeader("工厂")]
        public string Factory { get; set; }

        /// <summary>
        /// 物料号码
        /// </summary>
        [ExporterHeader("物料号码")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [ExporterHeader("物料名称")]
        public string MaterialName { get; set; }

        /// <summary>
        /// 物料类型
        /// </summary>
        [ExporterHeader("物料类型")]
        public string MaterialType { get; set; }

        /// <summary>
        /// 供应商批号
        /// </summary>
        [ExporterHeader("供应商批号")]
        public string Supplier { get; set; }

        /// <summary>
        /// 批号
        /// </summary>
        [ExporterHeader("批号")]
        public string BatchNo { get; set; }

        /// <summary>
        /// 检验批
        /// </summary>
        [ExporterHeader("检验批")]
        public string InspectionLot { get; set; }

        /// <summary>
        /// 结案抄送人名称
        /// </summary>
        [ExporterHeader("结案抄送人名称")]
        public string CCUsersName { get; set; }

        /// <summary>
        /// 处置方案
        /// </summary>
        [ExporterHeader("处置方案")]
        public string DisposalPlan { get; set; }

        /// <summary>
        /// 处置方案说明
        /// </summary>
        [ExporterHeader("处置方案说明")]
        public string DisposalPlanDescription { get; set; }

        /// <summary>
        /// 检测项目
        /// </summary>
        [ExporterHeader("检测项目")]
        public string TestProjectName { get; set; }

        /// <summary>
        /// 检测指标
        /// </summary>
        [ExporterHeader("检测指标")]
        public string TestProjectNorm { get; set; }

        /// <summary>
        /// 检测结果
        /// </summary>
        [ExporterHeader("检测结果")]
        public string TestResult { get; set; }

        /// <summary>
        /// 不合格品描述
        /// </summary>
        [ExporterHeader("不合格品描述")]
        public string UnqualifiedDescription { get; set; }
    }
}